import { createRouter, createWebHashHistory } from 'vue-router'

import UserAdd from '../views/UserAdd.vue'
import UserShow from '../views/UserShow.vue'
const routes = [
  {
    path: '/add',
    name: 'UserAdd',
    component: UserAdd
  },
  {
    path: '/show',
    name: 'UserShow',
    component: UserShow
  },
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
